package com.example.medicalzb.mapper;

import com.example.medicalzb.entity.MaterialEntity;
import com.example.medicalzb.model.MaterialModel;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MaterialMapper {

    List<MaterialModel> getAllMaterial(MaterialEntity materialEntity);

    int saveMaterial(MaterialEntity materialEntity);

    int updateMaterial(MaterialEntity materialEntity);

    int deleteMaterialById(Integer id);
}
